package cn.hfatec.shms.web.ss.ssCriteria.dao;

import cn.hfatec.mybatis.mapper.SqlMapper;
import cn.hfatec.shms.web.ss.ssCriteria.model.SsCriteria;
import cn.hfatec.shms.web.ss.ssCriteria.model.SsCriteriaParams;
import cn.hfatec.shms.web.ss.ssCustomer.model.SsCustomer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("SsCriteriaDao")
public interface SsCriteriaDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List querySsCriteria(@Param("params") SsCriteriaParams params);
    public List queryResult(@Param("params") SsCriteriaParams params);
    public  List<SsCriteria> getSsCriteriaByBillId( String billId);
    public  List<SsCriteria> getDifCriteria();
    public List<SsCriteria> getTestDate(@Param("testDate")String testDate,@Param("testEnd")String testEnd);

    /**
     *
     * 根据主键获取数据
     *
     */
    public SsCriteria getSsCriteriaById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(SsCriteria ssCriteria);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    /**
     *
     * 更新数据
     *
     */
    public void update(SsCriteria ssCriteria);
}
